package com.hwl.demo18.service;

import com.hwl.demo18.entity.Barbecuer;

/**
 * 抽象命令类
 *
 * @author sentry
 * @since 2023-03-26
 */
public abstract class Command {

    protected Barbecuer receiver;

    public Command(Barbecuer receiver) {
        this.receiver = receiver;
    }

    public abstract void excuteCommand();
}
